package com.cci.kangdao.fieldService.dao;

import com.cci.kangdao.fieldService.model.FieldServiceInvestigationReport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FieldServiceInvestigationReportDao {
    int deleteByPrimaryKey(Long id);

    int insert(FieldServiceInvestigationReport record);

    int insertSelective(FieldServiceInvestigationReport record);

    FieldServiceInvestigationReport selectByPrimaryKey(Long id);

    List<FieldServiceInvestigationReport> selectReportList(@Param("investigationId") Long investigationId);

    List<FieldServiceInvestigationReport> selectReportListByOrderId(@Param("orderId") Long orderId);

    int updateByPrimaryKeySelective(FieldServiceInvestigationReport record);

    int updateByPrimaryKey(FieldServiceInvestigationReport record);
}